package com.erp.app.masters.sysParamMaster.ejb;

//JRE Classes
import java.io.Serializable;

import com.erp.framework.model.pk.SimpleBasePk;

//Project Classes

public class SysParamMasterPK implements SimpleBasePk, Serializable {
    public String sysParamCode;

    public SysParamMasterPK() {
    }

    public SysParamMasterPK(String sysParamCode) {
        this.sysParamCode = sysParamCode;
    }

    public String getSysParamCode() {
        return sysParamCode;
    }

    public int hashCode() {
        return (sysParamCode).hashCode();
    }

    public boolean equals(Object obj) {
        if (obj instanceof SysParamMasterPK) {
            SysParamMasterPK pk2 = (SysParamMasterPK) obj;
            return (sysParamCode.equals(pk2.sysParamCode));
        }
        return false;
    }

    public String toString() {
        return "{sysParamCode = " + this.sysParamCode + "}";
    }

}
